package com.b2b2000.jira.plugin.projectpanel;

import com.atlassian.jira.plugin.projectpanel.fragment.ProjectTabPanelFragment;
import com.atlassian.jira.project.browse.BrowseContext;
import com.b2b2000.jira.plugin.projectpanel.AbstractFragmentBasedProjectTabPanel;
import com.b2b2000.jira.plugin.projectpanel.fragments.ProjectListIncGenFragmentImpl;

import java.util.ArrayList;
import java.util.List;

public class B2bProjectIncGenTabPanel extends AbstractFragmentBasedProjectTabPanel {
	private final com.b2b2000.jira.plugin.projectpanel.fragments.ProjectListIncGenFragmentImpl incGenFragment;

	public B2bProjectIncGenTabPanel(ProjectListIncGenFragmentImpl projectListIncGenFragmentImpl) {
		incGenFragment = projectListIncGenFragmentImpl;
	}

	@Override
	protected List<ProjectTabPanelFragment> getLeftColumnFragments(BrowseContext arg0) {
		List<ProjectTabPanelFragment> fragments = new ArrayList<ProjectTabPanelFragment>();
		fragments.add(incGenFragment);
		return fragments;
	}

	@Override
	protected List<ProjectTabPanelFragment> getRightColumnFragments(BrowseContext arg0) {
		List<ProjectTabPanelFragment> fragments = new ArrayList<ProjectTabPanelFragment>();
		return fragments;
	}
}
